<%@ page language="java" contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>用户展示列表页面</title>
    <%@ include file="../../common/jsp/header.jsp" %>
</head>
<body>
<form class="form-horizontal">
    <div style="height: 30px"></div>
    <div class="form-group">
        <label for="inputEmail1" class="col-sm-2 control-label">客户:</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" id="inputEmail1" placeholder="请点击选择">
        </div>
        <label for="inputEmail2" class="col-sm-1 control-label">物资:</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" id="inputEmail2" placeholder="请点击选择">
        </div>
        <label for="inputEmail4" class="col-sm-1 control-label">销售组织:</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" id="inputEmail4" placeholder="请点击选择">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">状态:</label>
        <div class="col-sm-2">
            <select class="form-control" id="inputPassword3">
                <option>1</option>
                <option>2</option>
                <option>3</option>
                <option>4</option>
                <option>5</option>
            </select>
        </div>
    </div>

    <button type="button" class="btn btn-primary col-sm-offset-4">查询</button>
    <button type="button" class="btn btn-primary col-sm-offset-1" id="create" name="sale/create.jsp">新增</button>

    <div style="height: 20px"></div>
    <table class="table table-striped table-bordered table-hover table-condensed">
        <thead>
        <tr>
            <th><input type="checkbox" id="checkall"/></th>
            <th>销售组织</th>
            <th>调价组</th>
            <th>客户</th>
            <th>销售价编号</th>
            <th>物资</th>
            <th>物资分类</th>
            <th>规格</th>
            <th>计价单位</th>
            <th>价格员</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="u" items="${page.list }" varStatus="v">
            <tr>
                <td><input type="checkbox" name="ids" value="${u.saleId }"/></td>
                <td>....</td>
                <td>....</td>
                <td>${u.saleCsutomer }</td>
                <td>${u.priceNumber }</td>
                <td>....</td>
                <td>${u.gamType }</td>
                <td>${u.gamSize }</td>
                <td>${u.chargeUnit }</td>
                <td>${u.priceCreater }</td>
                <td>${u.priceStatus }</td>
                <td>
                    <button type="button" class="btn btn-primary" aria-label="Left Align">
                        <span class="glyphicon glyphicon-jpy" aria-hidden="true">调价</span>
                    </button>
                    <button type="button" class="btn btn-primary" aria-label="Left Align">
                        <span class="glyphicon glyphicon-pencil" aria-hidden="true">编辑</span>
                    </button>
                    <button type="button" class="btn btn-primary" aria-label="Left Align">
                        <span class="glyphicon glyphicon-adjust" aria-hidden="true">审核</span>
                    </button>
                </td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
    <div class="page">${page}</div>
</form>
</body>
</html>